﻿using LogionDemo.Common.UserEventArgs;
using LogionDemo.Models;

namespace LogionDemo.Common.Interfaces
{
	public interface ILogin
	{
		event EventHandler<LoginStatusChangedEventArgs>? LoginStatusChangedEvent;

		bool IsLoggedIn { get; }
		string? LoginMessage { get; }
		UserToken? UserToken { get; }

		void CancelLogin();

		void Login();

		void Logout();
	}
}